package com.dlu.safe_construction.mapper;

import com.dlu.safe_construction.model.Manager;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Created by  lijiaxing on 2022/3/31 13:23
 *
 * @author lijiaxing
 */
public interface ManagerMapper {
    int deleteByPrimaryKey(String userId);

    int insert(Manager record);

    int insertSelective(Manager record);

    Manager selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(Manager record);

    int updateByPrimaryKey(Manager record);

    int updateBatch(List<Manager> list);

    int updateBatchSelective(List<Manager> list);

    int batchInsert(@Param("list") List<Manager> list);

    Manager selectByPhone(String userPhone);
}